package com.msf.common.config;

import com.wh.influxdb.service.*;
import com.wh.influxdb.service.impl.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class InfluxdbConfig {

    /**
     * @Description: 应力
     **/
    @Bean(name = "stressService")
    public IStressService getStressService() {
        return new StressServiceImpl();
    }

    /**
     * @Description: 水文
     **/
    @Bean(name = "hydrologyService")
    public IHydrologyService getHydrologyService() {
        return new HydrologyServiceImpl();
    }

    /**
     * @Description: 微震
     **/
    @Bean(name = "microseismService")
    public IMicroseismService getMicroseismService() {
        return new MicroseismServiceImpl();
    }

    /**
     * @Description: 放矿
     **/
    @Bean(name = "oreDrawingService")
    public IOreDrawingService getOreDrawingService() {
        return new OreDrawingServiceImpl();
    }

    /**
     * @Description: 地表沉降
     **/
    @Bean(name = "settlementService")
    public ISettlementService getSettlementService() {
        return new SettlementServiceImpl();
    }

    /**
     * @Description: 边坡位移
     **/
    @Bean(name = "sideSlopeService")
    public ISideSlopeService getSideSlopeService() {
        return new SideSlopeServiceImpl();
    }

}
